from django.urls import path
from rest_framework import routers

from dvadmin.design.views.hierarchy import NodeTypesViewSet, NodesHierarchyViewSet
from dvadmin.design.views.allpairs import AllPairsViewSet
from dvadmin.design.views.decision import DecisionViewSet
from dvadmin.design.views.xmind import XMindViewSet
from dvadmin.design.views.flow import FlowViewSet

system_url = routers.SimpleRouter()
system_url.register(r'node', NodeTypesViewSet)
system_url.register(r'hierarchy', NodesHierarchyViewSet)
system_url.register(r'allpairs', AllPairsViewSet)
system_url.register(r'decision', DecisionViewSet)
system_url.register(r'flow', FlowViewSet)
system_url.register(r'xmind', XMindViewSet)

urlpatterns = [

]
urlpatterns += system_url.urls
